module.exports = function(sequelize, DataTypes) {
  var SttsDaily = sequelize.define(
    'SttsDaily',
    {
      newTeacherNum: {
        type: DataTypes.INTEGER
      },
      newUserNum: {
        type: DataTypes.INTEGER
      },
      publishHomeworkTeacherNum: {
        type: DataTypes.INTEGER
      },
      publishHomeworkGroupNum: {
        type: DataTypes.INTEGER
      },
      receivedHomeworkStudentNum: {
        type: DataTypes.INTEGER
      },
      doneHomeworkStudentNum: {
        type: DataTypes.INTEGER
      },
      checkHomeworkStudentNum: {
        type: DataTypes.INTEGER
      },
      redoHomeworkStudentNum: {
        type: DataTypes.INTEGER
      },
      createdDate: {
        type: DataTypes.DATEONLY
      },
    },
    {
      tableName: 'stts_daily',
      comment: '日常统计表'
    }
  )
  return SttsDaily
}
